import 'package:get/route_manager.dart';
import 'package:share_fit/app/controllers/sports/ball_game/view.dart';
import 'package:share_fit/app/controllers/sports/components/count_down_view.dart';
import 'package:share_fit/app/controllers/sports/goal_setting/view.dart';
import 'package:share_fit/app/controllers/sports/indoor_sports/view.dart';
import 'package:share_fit/app/controllers/sports/motion/view.dart';
import 'package:share_fit/app/controllers/sports/motion_end/view.dart';
import 'package:share_fit/app/controllers/sports/movement/view.dart';
import 'package:share_fit/app/controllers/sports/riding/view.dart';
import 'package:share_fit/app/controllers/sports/running/view.dart';
import 'package:share_fit/app/controllers/sports/special/view.dart';
import 'package:share_fit/app/controllers/sports/sport_dance/view.dart';
import 'package:share_fit/app/controllers/sports/sport_management/view.dart';
import 'package:share_fit/app/controllers/sports/winter_sport/view.dart';
import 'package:share_fit/app/controllers/sports/wrestle/view.dart';

class SportsRoutes {
  static const String countDownPage = '/sports/countDown';
  static const String ballGamePage = '/sports/ballGame';
  static const String indoorSportsPage = '/sports/indoorSports';
  static const String ridingPage = '/sports/riding';
  static const String runningPage = '/sports/running';
  static const String specialSportsPage = '/sports/specialSports';
  static const String sportsDancePage = '/sports/sportsDance';
  static const String winterSportsPage = '/sports/winterSports';
  static const String wrestlePage = '/sports/wrestle';
  static const String goalSettingPage = '/sports/goal/setting';
  static const String motionPage = '/sports/motion';
  static const String motionEndPage = '/sport/motion/end';
  static const String movementPage = '/sport/movement';

  static String sportListPage = '/sport/list';

  static List<GetPage> getPages() {
    return routes;
  }

  static final routes = [
    GetPage(
      name: countDownPage,
      page: () => const CountDownView(),
    ),
    GetPage(
      name: ballGamePage,
      page: () => BallGamePage(),
    ),
    GetPage(
      name: runningPage,
      page: () => RunningPage(),
    ),
    GetPage(
      name: indoorSportsPage,
      page: () => IndoorSportsPage(),
    ),
    GetPage(
      name: ridingPage,
      page: () => RidingPage(),
    ),
    GetPage(
      name: specialSportsPage,
      page: () => SpecialPage(),
    ),
    GetPage(
      name: sportsDancePage,
      page: () => SportDancePage(),
    ),
    GetPage(
      name: winterSportsPage,
      page: () => WinterSportPage(),
    ),
    GetPage(
      name: wrestlePage,
      page: () => WrestlePage(),
    ),
    GetPage(
      name: goalSettingPage,
      page: () => GoalSettingPage(),
    ),
    GetPage(
      name: movementPage,
      page: () => MovementPage(),
    ),
    GetPage(
      name: motionPage,
      page: () => MotionPage(),
    ),
    GetPage(
      name: motionEndPage,
      page: () => MotionEndPage(),
    ),
    GetPage(
      name: sportListPage,
      page: () => SportManagementPage(),
    ),
  ];
}
